// packageH/signPage/component/sign_button.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    home: {
      type: String,
      value: '/packageH/signPage/signIndex/signIndex'
    },
    shoSign: {
      type: Boolean,
      value: true
    },
    signIndex: {
      type: String,
      value: '/packageH/signPage/contractList/contractList'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    toHome() {
      wx.redirectTo({
        url: this.data.home,
      });
    },
    toPage() {
      wx.redirectTo({
        url: this.data.signIndex,
      });
    },
  }
});
